#ifndef SCENE_H
#define SCENE_H

#include <QObject>
#include "SynfigFile.h"
class Scene : public QObject
{
	Q_OBJECT

public:
	Scene(QObject *parent);
	~Scene();

	Scene(QString path_p);
	bool SetInnerName(QString inner);// variable in script
	bool SetOuterName(QString outer);// trivial name
	bool RenameOuterName(QString outer);// trivial name
	QString GetInnerName(void);// variable in script
	QString GetOuterName(void);// trivial name
	void SetMajorNumber(int num);
	int GetMajorNumber(void);
	void SetDescription(QString str);
	QString GetDescription(void);
	QString GetPicName(void);
	void SetDuration(int dur);
	int GetDuration(void);
	bool isReady(void);

private:
	bool a,b,c,d,e;
	QString innerName;// variable in script
	QString outerName;// trivial name
	QString description;
	// attention!!! ->//array <SynfigFile^ > ^Files;
	bool valid(void);
	void CreateScene(void);
	//void CreateSF(int TYPE);
	bool CreateSF(int TYPE, QString whereIt);
	int majorNumber;
	int numOfFiles;
	int Duration;
	QString path_;
};

#endif // SCENE_H
